package com.sc.nft.entity.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author 朱梦晨
 * @Description:
 * @date 2024-08-06
 */
@Data
public class EcologyHatchUsePropsExchangeRequest {

    /**
     * id
     */
    @ApiModelProperty("Id 编辑时传")
    private Long id;

    @ApiModelProperty("熔炼配置id")
    @NotNull(message = "熔炼配置id不能为空")
    private Long ecologyHatchId;

    /**
     * 增加上限的数量
     */
    private Integer addCount = 1;

    @ApiModelProperty("道具id")
    @NotNull(message = "道具id不能为空")
    private Long propId;

    @ApiModelProperty("道具名称")
    @NotBlank(message = "道具名称不能为空")
    private String propName;

    @ApiModelProperty("数量")
    @NotNull(message = "数量不能为空")
    private Long propCount;

    @ApiModelProperty("道具图片")
    @NotBlank(message = "道具图片不能为空")
    private String propImage;

    /**
     * 状态：1开启/0关闭
     */
    @ApiModelProperty("状态")
    @NotNull(message = "状态不能为空")
    private Boolean status;

}
